package com.ld.hpfs.pojo;

import java.util.ArrayList;
import java.util.List;

public class Company {
    int id;
    int pid;
    
	String companyname;
	 
    List<Company> children;
    public Company()
    {
    	children = new ArrayList<Company>();
    	 
    }
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}
	public String getCompanyname() {
		return companyname;
	}
	public void setCompanyname(String companyname) {
		this.companyname = companyname;
	}
	public List<Company> getChildren() {
		return children;
	}
	public void setChildren(List<Company> children) {
		this.children = children;
	}
}
